<template>
  <div class="test_drag" id="test_drag">拖拽移动</div>
</template>

<script setup>
import { onMounted } from 'vue';
import { initDrag } from './dragTest';
onMounted(() => {
  initDrag(document.getElementById('test_drag'));
});
</script>

<style scoped lang="scss"></style>

<style>
.test_drag {
  position: absolute;
}
</style>
